package io.qar.dishes.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 菜品信息表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-06-10
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class DishesExcel {
    @ExcelProperty(value = "Long", index = 0)
    private Long dishId;
    @ExcelProperty(value = "菜品名称", index = 1)
    private String name;
    @ExcelProperty(value = "菜品描述", index = 2)
    private String description;
    @ExcelProperty(value = "菜品价格", index = 3)
    private BigDecimal price;
    @ExcelProperty(value = "菜品图片URL", index = 4)
    private String imageUrl;
    @ExcelProperty(value = "菜品是否在售", index = 5)
    private Integer isActive;
    @ExcelProperty(value = "分类ID", index = 6)
    private Long categoryId;
    @ExcelProperty(value = "口味ID", index = 7)
    private Long dishFlavorId;
    @ExcelProperty(value = "创建时间", index = 8)
    private Date createdAt;
    @ExcelProperty(value = "更新时间", index = 9)
    private Date updatedAt;
}